<?php
// Application Config
define('DEFAULT_LANGUAGE','FR');

// Customizing Settings
define('DEV_ENV', true);
define('CACHE_MENU', true);
define('CACHE', false);
define('SESSION_NAME', 'hive');
define('SESSION_PAGE', false);
define('SKIP_AUTH', true);
define('IMGDIR_COMPANY',_ASSETS_CACHE_DIRECTORY_.'images/company');
define('COMPANY_ASSETS_URL',_ASSETS_.'images/company/');
define('SECURE_COOKIE', true);

// Databases Config
Fox\Databases::databases()->register(Fox\Databases::DB_FOX, array(
	Fox\Databases::PARAM_DRIVER   => 'pdo_mysql',
	Fox\Databases::PARAM_DB       => 'fox_core',
	Fox\Databases::PARAM_HOST     => '127.0.0.1',
	Fox\Databases::PARAM_SEKEY     => '707A39697151636C4D53576341475379476D626A5A514E3D6D7273343378777173363537'
),array(Fox\Databases::PARAM_USER, Fox\Databases::PARAM_PASSWORD));

Fox\Databases::databases()->register(Fox\Databases::DB_APP, array(
	Fox\Databases::PARAM_DRIVER   => 'pdo_mysql',
	Fox\Databases::PARAM_DB       => 'hive_orinea_hr_161212',
	Fox\Databases::PARAM_HOST     => '127.0.0.1',
    Fox\Databases::PARAM_SEKEY     => '707A39697151636C4D53576341475379476D626A5A514E3D6D7273343378777173363537'
),array(Fox\Databases::PARAM_USER, Fox\Databases::PARAM_PASSWORD));

//Database
Fox\Authenticators::instance()->register(Fox\Authenticators::DRIVER_DB);

// Mailer
define('SEND_MAIL',false);
use Fox\Mailing\Mailer;
Mailer::instance()->register(array(
	Mailer::PARAM_FROM => 'noreplydev@orinea.com',
	Mailer::PARAM_SMTP => false,
));